package com.probox.common.entity.domain.product;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import com.probox.common.core.annotation.Excel;

/**
 * 商品品牌对象 product_brand
 *
 *
 * @date 2021-05-25
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("product_brand")
public class ProductBrand implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 品牌ID
     */
    //默认主键自增
    @TableId(value = "BRAND_UID", type = IdType.AUTO)
    private Long brandUid;
    /**
     * 平台ID
     */
    @Excel(name = "平台ID")
    private Long platformUid;
    /**
     * 品牌名称
     */
    @Excel(name = "品牌名称")
    private String brandName;
    /**
     * 品牌logoURL
     */
    @Excel(name = "品牌logoURL")
    private String logoUrl;
    /**
     * 品牌链接
     */
    @Excel(name = "品牌链接")
    private String brandUrl;
    /**
     * 品牌宣传图URL
     */
    @Excel(name = "品牌宣传图URL")
    private String imgUrl;
    /**
     * 数据状态
     */
    @Excel(name = "数据状态")
    private String dataStatus;
    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long dataPriority;
    /**
     * 更新人ID
     */
    @Excel(name = "更新人ID")
    private Long updateUid;

    @Excel(name = "更新人名称")
    private String updateName;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
